package com.chushouya.common.wx;


import com.general.framework.core.enums.IEnum;

public enum MessageChannel implements IEnum<String> {

    wx_lite("wx_lite", "微信小程序"),
    wx_official("wx_official", "微信公众号"),
    alipay_lite("alipay_lite", "支付宝小程序"),
    alipay_official("alipay_official", "支付宝公众号");

    MessageChannel(String value, String name) {
        this.value = value;
        this.name = name;
    }

    private final String value;

    private final String name;

    @Override
    public String value() {
        return this.value;
    }

    @Override
    public String named() {
        return this.name;
    }
}
